//
//  HHHomeViewController.m
//  HHDevelopKit_Example
//
//  Created by Hayder on 2023/7/13.
//  Copyright © 2023 WzhGoSky. All rights reserved.
//

#import "HHHomeViewController.h"

@interface HHHomeViewController ()

@end

@implementation HHHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationBar addTitle:@"资讯"];
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeContactAdd];
    btn.frame = CGRectMake(100, 100, 100, 100);
    [btn addTarget:self action:@selector(btnEvent) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn];
    
    
}

- (void)btnEvent
{
    HHBaseViewController *vc = [[HHBaseViewController alloc] init];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
